//
//  VVPopularOperation.m
//  VOVA
//
//  Created by admin on 2020/10/14.
//  Copyright © 2020 iOS. All rights reserved.
//

#import "VVPopularOperation.h"

@implementation VVPopularOperation

@synthesize executing = _executing;
@synthesize finished = _finished;

- (void)main
{
    NSLog(@"哈哈哈名字名字%@", self.name);
    
}

- (void)start
{
    NSLog(@"开始开始啦啦啦名字%@", self.name);
    self.executing = YES;
    self.finished = NO;
}

- (void)cancel
{
    [super cancel];
    [self done];
}

- (void)done
{
    self.executing = NO;
    self.finished = YES;
}

- (void)setFinished:(BOOL)finished
{
    [self willChangeValueForKey:@"isFinished"];
    _finished = finished;
    [self didChangeValueForKey:@"isFinished"];
}

- (void)setExecuting:(BOOL)executing
{
    [self willChangeValueForKey:@"isExecuting"];
    _executing = executing;
    [self didChangeValueForKey:@"isExecuting"];
}

- (void)dealloc
{
    
}

@end
